﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Supply_Fetch
{
    public class LEDList
    {
        List<LED> leds;
        public LEDList()
        {
            leds = new List<LED>();
            CreateLEDs();
        }

        private void CreateLEDs(){
            for (int i = 1; i <= 11; i++)
            {
                leds.Add(new LED(i));
            }
        }

        public LED GetLED(int index)
        {
            return leds[index-1];
        }
    }
}
